package main

import "fmt"

func main() {
	a := [...]string{"USA", "China", "India", "Germany", "France"}
	// a copy of a is assigned to b
	b := a
	b[0] = "Singapore"
	fmt.Println("a : ", a)
	fmt.Println("b : ", b)

	c := &a
	// 语法糖 完整写法：(*c)[0] = "hello"
	c[0] = "Hello"
	fmt.Println("a : ", a)
	fmt.Println("b : ", b)
	fmt.Println("c : ", c)
}
